#!/bin/bash

##BBSL_GS - Generates experiments that execute Grow and Shrink, and from its result executes BBSL

for i in {0..4}
do
	#ALARM
	genexp -r bbsl-gs_alarm_500_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_500_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_500_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_500_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_500_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_500_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_500_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_500_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_1000_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_1000_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_1000_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_1000_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_1000_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_1000_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung
	
	genexp -r bbsl-gs_alarm_1000_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/alarm_1000_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/alarm_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/alarm.eg -c VentLung

	
	#HAILFINDER
	genexp -r bbsl-gs_hailfinder_500_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_500_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_500_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_500_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_500_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_500_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_500_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_500_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_1000_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_1000_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_1000_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_1000_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_1000_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_1000_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	genexp -r bbsl-gs_hailfinder_1000_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/hailfinder_1000_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/hailfinder_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/hailfinder.eg -c LLIW
	
	
	#CHILD
	genexp -r bbsl-gs_child_500_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_500_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_500_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_500_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_500_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_500_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_500_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_500_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_1000_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_1000_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_1000_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_1000_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_1000_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_1000_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	genexp -r bbsl-gs_child_1000_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/child_1000_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/child_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/child.bif -c CO2
	
	
	#INSURANCE
	genexp -r bbsl-gs_insurance_500_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_500_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_500_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_500_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_500_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_500_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_500_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_500_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_1000_perc30_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_1000_perc30_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_1000_perc15_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_1000_perc15_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_1000_perc5_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_1000_perc5_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
	genexp -r bbsl-gs_insurance_1000_perc1_lc$i -f  ~/Desktop/bayes/trunk/experiments/BBSL_GS/ -n 10 -d ~/Desktop/bayes/trunk/data/dataset/insurance_1000_perc1_missing_data.txt -m ~/Desktop/bayes/trunk/data/models/BBSL_GS/ -s ~/Desktop/bayes/trunk/data/ini_structures/insurance_ini_structure_lc$i.eg -t ~/Desktop/bayes/trunk/data/EncogBayesData/insurance.bif -c SocioEcon
	
done